package com.aaa.daydemo111.demo5;

/**
 * @Description:
 * @author:LiWei
 * @date:2022年11月01日17:38
 */
public class TestDead {
    public static void main(String[] args) {
        Boy boy=new Boy();
        boy.setName("张三");

        Girl girl=new Girl();
        girl.setName("李四");

        boy.start();
        girl.start();
    }
}
